package com.njit.campuslifeboot.mapper;

import com.njit.campuslifeboot.entity.dto.CommentItem;
import com.njit.campuslifeboot.entity.po.LifeInfoComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Axin
 * @since 2022-11-08
 */
@Mapper
public interface LifeInfoCommentMapper extends BaseMapper<LifeInfoComment> {

    List<CommentItem> getComments(@Param("infoId") Integer infoId);
}
